<include file="public:header" />
<include file="public:left" />
<include file="public:article_left" />
<div style="float:left;width:100%">
    <form action="{:U('Article/add')}" method="post" id="form1" class="registerform" enctype="multipart/form-data">
        <!-- 文章标题 -->
        <div class="form-group width50">
            <label for="exampleInputEmail1">标题：<font color="red">*</font></label>
            <input type="text" class="form-control"  placeholder="标题" name="name" datatype="*1-50"  nullmsg="标题不可为空！" errormsg="请输入1~50个汉字" >
        </div>
        <div class="form-group width50">
            <label for="exampleInputEmail1">备注：</label>
            <input type="text" class="form-control"  placeholder="显示在滚动信息中" name="remark"   >
        </div>
        <!--
      <div class="form-group width50">
          <label for="exampleInputEmail1">文章图片ALT：<font color="red">*</font></label>
          <input type="text" class="form-control"  placeholder="文章图片ALT" name="alt"   >
      </div>


               -->
        <!--
        <div class="form-group width50">
            <label for="exampleInputEmail1">图片：<font color="red">*</font></label>
            <include file="upload:index"  upload_value="" upload_name="title_img"/>
        </div>
          -->

        <!-- 文章内容 -->
        <div class="form-group">
            <label for="exampleInputEmail1">正文内容：</label>
            <taglib name='Html' />
            <html:htmlEditor    />
        </div>
        <button type="submit" class="btn btn-primary">保存</button>
        <input type="hidden" name="parent_id" value="{$column_id}" >
    </form>
</div>
<include file="public:footer" />
